<template>
  <div class="dashboard-container">
    <div class="number">
      <img :src="avatar" alt="" class="png">
      <div class="name">
        <h5>江苏传智播客教育科技股份有限公司</h5>
        <p>管理员 ｜ 传智播客-总裁办</p>
      </div>
      <p class="experience">体验版</p>
    </div>

  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name',
      'avatar'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;

  }

}
.number{
    width: 600px;
    height: 300px;
    background:pink;
    padding: 20px;
    display: flex;
  }
  .number img {
    width: 50px;
    height: 50px;
    vertical-align: top;
    margin-right: 10px;
  }

.name h5 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 400;
  font-size: 16px;
}
.name p {
  margin-top: 0;
  font-size: 14px;
}
.experience{
  margin-top: 5px;
  width: 70px;
  height: 20px;
  background: #f5f6f8;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
  margin-left: 5px;
}
</style>
